Modifier and Type | Method and Description |
---|---|
NB3AgentSet |
NB3AgentSet.copy()
Makes a copy of this set.
|
NB3AgentSet |
NB3Proposal.getParticipatingAgents() |
abstract NB3AgentSet |
NB3Algorithm.getParticipatingAgents(java.util.ArrayList<NB3Node> branch)
Necessary in order to create a proposal object (which needs to know the pa in order to determine whether how
many agents still need to accept).
|
NB3AgentSet |
NB3AgentSet.subtract(NB3AgentSet otherSet)
Creates a new Agent Set that contains all agents in this set that are not in the given other set.
|
Modifier and Type | Method and Description |
---|---|
void |
NB3AgentSet.addAll(NB3AgentSet otherSet) |
void |
NB3Algorithm.calculateBounds(NB3Node node,
java.util.ArrayList<NB3Node> branch,
NB3AgentSet pa) |
boolean |
NB3AgentSet.containsAll(NB3AgentSet otherSet) |
void |
NB3AgentSet.makeEqualTo(NB3AgentSet otherSet)
Removes all elements of this set and adds all elements of the given set.
|
void |
NB3AgentSet.removeAll(NB3AgentSet otherSet) |
NB3AgentSet |
NB3AgentSet.subtract(NB3AgentSet otherSet)
Creates a new Agent Set that contains all agents in this set that are not in the given other set.
|
Constructor and Description |
---|
NB3AgentSet(NB3AgentSet original)
Copy constructor
|